<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
  <%= devise_error_messages! %>
  <%= f.hidden_field :reset_password_token %>

  	<div class="field">
	  	<div class="label">
	  		<%= f.label :password, t('devise.new_password') %>
	  	</div>
    	<%= f.password_field :password, autocomplete: "off" %>
	</div>

  	<div class="field">
  		<div class="label">
  			<%= f.label :password_confirmation, t('devise.passwords.edit.confirmation') %>
  		</div>
    	<%= f.password_field :password_confirmation, autocomplete: "off" %>
    </div>

  	<div class="actions">
  		<%= f.submit t('devise.password_change') %>
  	</div>
<% end %>

<%= render "devise/shared/links" %>
